package org.lg.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.lg.entity.User;

@Mapper
public interface UserMapper {

    // 根据用户名获取用户
    User getUserByUsername(String username);

    // 创建用户
    void createUser(User user);
}
